package com.own.business.wallet.common.em;

import com.own.base.BaseResponseCode;
import lombok.AllArgsConstructor;

/**
 * WalletExceptionEnum
 *
 * @author chenxueli
 * @date 2023-07-13 16:32:30
 */
@AllArgsConstructor
public enum WalletExceptionEnum implements BaseResponseCode {

    DEFAULT("wallet_error", "钱包信息异常"),

    NEED_SET_PAY_PASSWORD("W1001", "请先设置支付密码"),
    PASSWORD_ERROR("W1002", "支付密码错误"),

    ;

    private final String code;

    private final String desc;

    @Override
    public String code() {
        return this.code;
    }

    @Override
    public String desc() {
        return this.desc;
    }

}
